class RemoveVoteIdAndModifyNoteFromPeople < ActiveRecord::Migration
  def self.up
    change_table :people do |p|
      p.remove :vote_id
    end
    
    change_column :people, :note, :text
  end

  def self.down
    change_table :people do |p|
      p.integer :vote_id
    end
    
    change_column :people, :note, :string, :limit => 200
  end
end
